package net.xju_13_14.entity;

import lombok.Data;

@Data
public class Teacher {
    private String msg;
    private String tid;
    private String name;

    public Teacher() {
        System.out.println("Teacher对象创建了");
    }
    public void teach() {
        System.out.println("老师在讲解"+msg);
    }


}
